package cn.zhj.base.mvp.ui.activity

import android.os.Bundle
import cn.zhj.base.R
import cn.zhj.base.mvp.presenter.TestPresenter
import cn.zhj.base.mvp.contract.TestContract
import cn.zhj.base.mvp.ui.base.BaseModuledActivity

class TestActivity : BaseModuledActivity<TestPresenter>() , TestContract.View {

    override fun createPresenter(): TestPresenter {
        return TestPresenter()
    }

    override fun initView(savedInstanceState: Bundle?): Int {
        return R.layout.activity_main
    }

    override fun initData(savedInstanceState: Bundle?) {
        mPresenter.getSendingState("")
    }

    override fun getSuccess(msg: String) {
    }

}